﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using BaMusaSoft.RPS.ViewModel;
using BaMusaSoft.RPS.View.Services;

namespace BaMusaSoft.RPS.View
{
    /// <summary>
    /// Interaction logic for CustomersView.xaml
    /// </summary>
    public partial class CustomersView : UserControl
    {
        //CustomerViewModel vm;
        public CustomersView()
        {
            InitializeComponent();
        }

        private void ViewLoaded(object sender, RoutedEventArgs e)
        {
            //vm = (CustomerViewModel)DataContext;
            //vm.AskQuestion += new EventHandler<NotificationEventArgs<string, bool>>(Helper.AskQuestionEvent);
            //vm.MessageNotification += new EventHandler<NotificationEventArgs>(Helper.MessageNotificationEvent);

        }
        private void ViewUnloaded(object sender, RoutedEventArgs e)
        {
            //vm.AskQuestion -= Helper.AskQuestionEvent;
            //vm.MessageNotification -= Helper.MessageNotificationEvent;
        } 
    }
}
